package com.mfangsoft.zhuangjialong.integration.customer.model;

import java.io.Serializable;
import java.util.Date;

/**
 * table t_biz_popularize_channel
 * 消费者来源表
 *
 * @MLTH_generated do_not_delete_during_merge
 */
public class CustomerSource implements Serializable {
    /**
     * column id
     *
     * @MLTH_generated
     */
    private Integer id;

    /**
     *   渠道名称
     * column name
     *
     * @MLTH_generated
     */
    private String name;

    /**
     *   商户id
     * column user_id
     *
     * @MLTH_generated
     */
    private Integer user_id;

    /**
     * column status
     *
     * @MLTH_generated
     */
    private Integer status;

    /**
     * column create_time
     *
     * @MLTH_generated
     */
    private Date create_time;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table t_biz_popularize_channel
     *
     * @MLTH_generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id the value for 
     *
     * @MLTH_generated
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     *   渠道名称
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getName() {
        return name;
    }

    /**
     *   渠道名称
     * @param name the value for 
     *
     * @MLTH_generated
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     *   商户id
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getUser_id() {
        return user_id;
    }

    /**
     *   商户id
     * @param user_id the value for 
     *
     * @MLTH_generated
     */
    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    /**
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * @param status the value for 
     *
     * @MLTH_generated
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * @return the value of TIMESTAMP
     *
     * @MLTH_generated
     */
    public Date getCreate_time() {
        return create_time;
    }

    /**
     * @param create_time the value for 
     *
     * @MLTH_generated
     */
    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", user_id=").append(user_id);
        sb.append(", status=").append(status);
        sb.append(", create_time=").append(create_time);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}